import $request from "@/utils/request";

export const getMenuList = () => {
  return $request.get("/menu/aside_list");
};

export const login = ({
  username,
  password
}: {
  username: string;
  password: string;
}) => {
  return $request.post("/login", { username, password });
};
